package com.itcast.StringBuilder.Demo01;

/*
Math函数
*/
public class Test4 {
    public static void main(String[] args) {
        System.out.println(Math.abs(-100));
        System.out.println(Math.floor(1.9999));
        System.out.println(Math.ceil(1.0000000001));
        System.out.println(Math.round(1.49));
        System.out.println(Math.pow(3, 3));
        System.out.println(Math.max(3, 6));
        System.out.println(Math.random());
    }
}
